<!DOCTYPE html>
<html>
<head>
<base href="#(basePath)">
<meta charset="UTF-8">
<title>接口文档</title>
</head>
<body>
	<h1>接口文档</h1>
	<h3>跳转接口</h3>
	<ol>
		<li>/------------------接口文档页<br>
			返回：_view/index.html</li>
		<li>timing------------------计时页<br>
			返回：_view/timing.html</li>
		<li>select------------------选题页<br>
			返回：_view/select.html</li>
		<li>questions------------------试题列表页<br>
			返回：_view/questions.html</li>
		<li>edit------------------修改试题页<br>
			返回：_view/edit.html</li>
		<li>add------------------新增试题<br>
			返回：_view/add.html</li>
	</ol>
	<h3>ajax接口</h3>
	<ol>
		<li>saveIntroduceTime------------------保存介绍所用时间<br>
			<table>
				<caption>入参</caption>
				<thead><tr><th>name</th><th>type</th></tr></thead>
				<tbody><tr><td>time</td><td>long</td></tr></tbody>
			</table>
			<table>
				<caption>返参</caption>
				<thead><tr><th>name</th><th>type</th></tr></thead>
				<tbody><tr><td>isOk</td><td>boolean</td></tr>
				 	   <tr><td>isFail</td><td>boolean</td></tr>
				 	   <tr><td>obj</td><td>Object(IntroduceTime)</td></tr>
				 	   <tr><td>msg</td><td>String</td></tr></tbody>
			</table>
			example<br>
			入参：{time:213213213213132}
			返参：{
				  "isFail": false,
				  "isOk": true,
				  "obj": {
				    "use_time": "213213213213132",
				    "tid": 1
				  },
				  "msg": "success"
				}</li>
		<li>updIntroduceQid------------------介绍的时间关联试题<br>
			<table>
				<caption>入参</caption>
				<thead><tr><th>name</th><th>type</th></tr></thead>
				<tbody><tr><td>qid</td><td>int</td></tr>
					   <tr><td>cid</td><td>int</td></tr></tbody>
			</table>
			<table>
				<caption>返参</caption>
				<thead><tr><th>name</th><th>type</th></tr></thead>
				<tbody><tr><td>isOk</td><td>boolean</td></tr>
				 	   <tr><td>isFail</td><td>boolean</td></tr>
				 	   <tr><td>obj</td><td>Object(IntroduceTime)</td></tr>
				 	   <tr><td>msg</td><td>String</td></tr></tbody>
			</table></li>
		<li>question/list------------------试题列表<br>
			<table>
				<caption>返参</caption>
				<thead><tr><th>name</th><th>type</th></tr></thead>
				<tbody><tr><td>isOk</td><td>boolean</td></tr>
				 	   <tr><td>isFail</td><td>boolean</td></tr>
				 	   <tr><td>list</td><td>List(Question)</td></tr>
				 	   <tr><td>msg</td><td>String</td></tr></tbody>
			</table></li>
		<li>question/add------------------新增<br>
			<table>
				<caption>入参</caption>
				<thead><tr><th>name</th><th>type</th></tr></thead>
				<tbody><tr><td>question.content</td><td>String</td></tr>
					   </tbody>
			</table>
			<table>
				<caption>返参</caption>
				<thead><tr><th>name</th><th>type</th></tr></thead>
				<tbody><tr><td>isOk</td><td>boolean</td></tr>
				 	   <tr><td>isFail</td><td>boolean</td></tr>
				 	   <tr><td>obj</td><td>Object(Question)</td></tr>
				 	   <tr><td>msg</td><td>String</td></tr></tbody>
			</table></li>
		<li>question/del/{id}------------------删除<br>
			<table>
				<caption>返参</caption>
				<thead><tr><th>name</th><th>type</th></tr></thead>
				<tbody><tr><td>isOk</td><td>boolean</td></tr>
				 	   <tr><td>isFail</td><td>boolean</td></tr>
				 	   <tr><td>obj</td><td>Object(Question)</td></tr>
				 	   <tr><td>msg</td><td>String</td></tr></tbody>
			</table></li>
		<li>questin/edit------------------修改试题<br>
			<table>
				<caption>入参</caption>
				<thead><tr><th>name</th><th>type</th></tr></thead>
				<tbody><tr><td>question.qid</td><td>int</td></tr>
						<tr><td>question.content</td><td>String</td></tr>
					   </tbody>
			</table>
			<table>
				<caption>返参</caption>
				<thead><tr><th>name</th><th>type</th></tr></thead>
				<tbody><tr><td>isOk</td><td>boolean</td></tr>
				 	   <tr><td>isFail</td><td>boolean</td></tr>
				 	   <tr><td>obj</td><td>Object(Question)</td></tr>
				 	   <tr><td>msg</td><td>String</td></tr></tbody>
			</table></li>
		<li>questin/question/{id}------------------根据id查询题目<br>
			<table>
				<caption>返参</caption>
				<thead><tr><th>name</th><th>type</th></tr></thead>
				<tbody><tr><td>isOk</td><td>boolean</td></tr>
				 	   <tr><td>isFail</td><td>boolean</td></tr>
				 	   <tr><td>obj</td><td>Object(Question)</td></tr>
				 	   <tr><td>msg</td><td>String</td></tr></tbody>
			</table></li>
		<li>questin/updIsShow/{id}------------------选过的的题目更新状态<br>
			<table>
				<caption>返参</caption>
				<thead><tr><th>name</th><th>type</th></tr></thead>
				<tbody><tr><td>isOk</td><td>boolean</td></tr>
				 	   <tr><td>isFail</td><td>boolean</td></tr>
				 	   <tr><td>obj</td><td>Object(Question)</td></tr>
				 	   <tr><td>msg</td><td>String</td></tr></tbody>
			</table></li>
		<li>questin/updUseTime------------------保存题目答题时间<br>
			<table>
				<caption>入参</caption>
				<thead><tr><th>name</th><th>type</th></tr></thead>
				<tbody><tr><td>id</td><td>int</td></tr>
						<tr><td>time</td><td>long</td></tr>
					   </tbody>
			</table>
			<table>
				<caption>返参</caption>
				<thead><tr><th>name</th><th>type</th></tr></thead>
				<tbody><tr><td>isOk</td><td>boolean</td></tr>
				 	   <tr><td>isFail</td><td>boolean</td></tr>
				 	   <tr><td>obj</td><td>Object(Question)</td></tr>
				 	   <tr><td>msg</td><td>String</td></tr></tbody>
			</table></li>
	</ol>
</body>
</html>